#pragma once
#include <windows.h>
#include<d3d9.h>
#include<d3dx9.h>
struct Vertex
{
	Vertex(float _x, float _y, float _z)
		:x(_x), y(_y), z(_z)
	{
	}
	Vertex(float _x, float _y, float _z, float _u, float _v)
		:x(_x), y(_y), z(_z), u(_u), v(_v)
	{
	}
	float x;
	float y;
	float z;
	float nx, ny, nz;
	float u, v;
	static const DWORD FVF = D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1;
};

extern Vertex vertexes[];
extern WORD indices[];

extern Vertex floor_vertexes[];
extern WORD floor_indices[];